#!/bin/bash
# here-function.sh

GetPersonalData ()
{
    read firstname
    read lastname
    read address
    read city 
    read state 
    read zipcode
} # This certainly looks like an interactive function, but...


# Supply input to the above function.
GetPersonalData <<RECORD001
Laven
Liu
script 
Baltimore
MD
0322016
RECORD001


echo
echo "$firstname $lastname"
echo "$address"
echo "$city, $state $zipcode"
echo

exit 0
